package s2elinshu;

import java.util.Scanner;

public class J09Circle {
	public static void main(String[] args) {
		double r[] = new double[2];
		double area[] = new double[2];
		double perim[] = new double[2];
		final double PI = 3.14;		

		
		circle( r, area, perim, PI);
		
		System.out.println(perim[1]);
		System.out.println(area[1]);
		

	} // main 닫음

	public static void circle(double r[] , double  area[], double  perim[],
			final double PI) {
		Scanner sc = null;
		sc = new Scanner(System.in);
		System.out.println("반지름 값을 넣으삼");
		r[1]  = sc.nextDouble();
		perim[1] = r[1] * 2 * PI;
		area[1] = r[1] * r[1] * PI;
		sc.close();
	} // 메서드 닫음

} // class 닫음